-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
http2: emit response event instead of trailers event
#41405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Review requested:
|
dc2be07 to
210ba97
Compare
210ba97 to
38c46b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice find. And actually makes sense after reading the nghttp2 docs https://nghttp2.org/documentation/enums.html#c.nghttp2_headers_category
|
The naming is very confusing. HTTP/2 states that those are trailers (since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Is this an objection? How would you like this PR to be changed? |
|
In the Examples section of RFC7540: in this instance there are three |
|
This needs a rebase. |
|
This still needs a rebase :) |
|
Superseded by #41739 |
Fix #41251.
Should emit
responseevent ifcat == NGHTTP2_HCAT_HEADERSand status >= 200.